﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace QLNhaThuoc.DTO
{
    abstract class ThuocState
    {
        protected Thuoc _thuoc;
        protected int _soLuong;

        public Thuoc Thuoc
        {
            get { return _thuoc; }
            set { _thuoc = value; }
        }

        public int SoLuong
        {
            get { return _soLuong; }
            set { _soLuong = value; }
        }

        public abstract int Sell(int sellQuantity);
        public abstract void Restock(int restockQuantity);
    }
}
